projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b29f4e
)
tests: unbreak testwindows test
author
Benjamin Otte
<otte@redhat.com>
Sun, 15 Aug 2010 01:51:39 +0000
(
03:51
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 15 Aug 2010 01:51:39 +0000
(
03:51
+0200)
Delete code that was broken and also used the APIs I just removed.
tests/testwindows.c
patch
|
blob
|
history
diff --git
a/tests/testwindows.c
b/tests/testwindows.c
index 48e2b4b2630897aa038d8337cf63c37cac8f680f..4d276ed4a37a5402d30a4f44858df4dc7458446b 100644
(file)
--- a/
tests/testwindows.c
+++ b/
tests/testwindows.c
@@
-726,7
+726,6
@@
render_window_cell (GtkTreeViewColumn *tree_column,
GtkTreeIter *iter,
gpointer data)
{
- GdkColor *color = NULL;
GdkWindow *window;
char *name;
@@
-740,10
+739,8
@@
render_window_cell (GtkTreeViewColumn *tree_column,
else
name = g_strdup_printf ("%p", window);
- gdk_window_get_background (window, color);
g_object_set (cell,
"text", name,
- "background-gdk", color,
NULL);
}